package cas.ihep.functions;

import scala.Tuple2;

public abstract class FunctionP2Tuple2<T0,T1,T2,R> extends FunctionTuple2<T0, Tuple2<T1,T2>,R>
implements java.io.Serializable{

    public abstract R call(T0 t0,T1 t1, T2 t2);

    @Override
    public R call(T0 t0, Tuple2<T1, T2> t1T2Tuple2) {
        return call(t0,t1T2Tuple2._1(),t1T2Tuple2._2());
    }
}
